package com.jiyun.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jiyun.pojo.Coupon;
import com.jiyun.pojo.JsonRes;

public interface CouponService extends IService<Coupon> {
    Page<Coupon> findAllCoupon(Coupon coupon, Integer pageNum, Integer pageSize);

    JsonRes deleteById(Integer id);

}
